package com.service.scheduling.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.service.dao.enums.CoinsEnum;
import com.service.dao.enums.WalletEnums;
import com.service.dao.model.Coins;
import com.service.dao.model.RwRecord;

import java.util.List;

public interface RwRecordService extends IService<RwRecord> {


    /**
     * 自动处理erc20usdt提币订单
     * @return
     */
    int withdrawalERC20Usdt();


    /**
     * 根据交易hash查表
     * @param hash
     * @return
     */
    List<RwRecord> selectByTxId(String hash);

    List<RwRecord> listNotRechargeRecord(CoinsEnum coins, List<Integer> type);

    /**
     * FIL提币列表
     * @return
     */
    List<RwRecord> listWithdrawalFILByCoinIdAndStatus();

}
